package com.prashantdctm.utils;

import java.io.File;
import java.io.FileWriter;
import java.util.StringTokenizer;

import com.gargoylesoftware.htmlunit.html.HtmlPage;

public class GeneralUtil {

	public static void main(String[] args) {
		
	}
	
	public static void dumpPage(HtmlPage page) throws Exception{
		FileWriter file = new FileWriter(new File("D:\\Temp.html"));
		file.write(page.asXml());
		file.close();
	}
	

}
